// parse
// let p = '{"name":"log","age":"19"}'
// console.log(JSON.parse(p));

// function parse(json) {
// 	return eval("(" + json + ")")
// }
// console.log(parse(p));

let code = 'name="dog"'

function foo() {
	let name = "cat"
	eval(code)
	console.log(name);
}
foo()
